import request from '../networks/request';
// 修改用户信息
export const updateinfo = (data) => {
    return request({
        url: '/updateuserinfo',
        method: 'put', 
        data:data, 
    });
};
//获取用户信息
export const finduserinfo = (data) => {
    return request({
        url: '/userinfo/find',
        method: 'get', 
        params:data, 
    });
};